/**
  **************************************************************************
  * File   : at32_board.h
  * Version: V1.2.3
  * Date   : 2020-08-15
  * Brief  : Header file for AT-START board
  *          1. Set of firmware functions to manage Leds, push-button and COM ports.
  *          2. initialize Delay Function and USB
  */

#ifndef __AT32_BOARD_H
#define __AT32_BOARD_H	 
#include <at32f4xx.h>

typedef const struct
{
    GPIO_Type *port;
    GPIOMode_Type mode;
    GPIOMaxSpeed_Type speed;
    uint32_t val_init;
    uint32_t pin;
    
} gpio_init_cfg_type;


void board_init(void);

#endif


/****************** (C) COPYRIGHT 2018 ArteryTek *********END OF FILE*********/
